<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title id=""></title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="/layui/css/layui.css">
    <script src="/layui/layui.js"></script>
    <link rel="stylesheet" href="/css/main.css">


    <script src="/js/jquery-2.1.4.min.js"></script>
    <script src="/js/common.js"></script>
    <script src="/vue/vue.js"></script>

    <script src="/js/echarts.min.js"></script>
</head>
<body class="lay-blog">
<div th:include="/teacher/templates::header"></div>
<div class="container-wrap">
    <div class="container" style="width:1000px;">
        <div class="layui-tab layui-tab-brief" lay-filter="docDemoTabBrief">
            <ul class="layui-tab-title">
                <li class="layui-this">文章管理</li>
                <li><a href="/teacher/video/manage.html">视频管理</a> </li>
            </ul>
            <div class="layui-tab-content" style="margin: 40px auto; background-color: white; padding: 20px 10px;">
                <div class="" id="article">
                    <div class="layui-row">
                        <form class="layui-form layui-col-md12 x-so" id="article_search" style="font-size: 16px;">
                            <div class="layui-inline">
                                <label class="layui-form-label">标题</label>
                                <div class="layui-input-inline" style="width: 200px; ">
                                    <input id="title" type="text" name="title" placeholder="请输入文章标题" autocomplete="off"
                                           class="layui-input">
                                </div>
                                <button id="search" class="layui-btn" lay-submit="" lay-filter="search"><i
                                        class="layui-icon"></i></button>
                            </div>
                        </form>
                    </div>

                    <table id="demo" lay-filter="demo"></table>
                    <!-- 操作列 -->
                    <script type="text/html" id="toolbarDemo">
                        <div class="layui-btn-container">
                            <button class="layui-btn layui-btn-danger layui-btn-sm" lay-event="delAll"><i
                                    class="layui-icon"></i>批量删除
                            </button>
                            <a href="/teacher/article/add.html">
                                <button class="layui-btn layui-btn-sm"><i class="layui-icon"></i>添加</button>
                            </a>
                        </div>
                    </script>
                    <!--这里放CRUD行工具栏按钮 id和table行的toolbar属性绑定-->
                    <script type="text/html" id="oper-col">
                        <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="detail" title="查看"><i class="layui-icon"></i></a>
                        <a class="layui-btn layui-btn-xs" lay-event="edit" title="编辑"><i class="layui-icon"></i></a>
                        <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del" title="删除"><i
                                class="layui-icon"></i></a>
                    </script>
                    <!--弹出层-->
                    <div class="layui-row" id="article_formpopbox" style="display:none;position: absolute; top: 0; left: 0; bottom: 0; right: 0; ">
                        <div class="layui-col-md11">
                            <form id="edit_form" class="layui-form" action=""
                                  style="margin-top: 20px;align:center;font-size: 14px !important;">
                                <input type="hidden" name="id"/>
                                <div class="layui-form-item">
                                    <label class="layui-form-label">文章标题</label>
                                    <div class="layui-input-block">
                                        <input type="text" name="title" id="name" lay-verify="required" placeholder="请输入菜单名称"
                                               autocomplete="off" class="layui-input">
                                    </div>
                                </div>
                                <div class="layui-form-item">
                                    <div class="layui-input-block">
                                        <button class="layui-btn layui-btn-radius layui-btn-normal" lay-submit=""
                                                lay-filter="zq_submit">确认
                                        </button>
                                        <button type="reset" class="layui-btn layui-btn-radius layui-btn-primary">重置</button>
                                    </div>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>

    </div>
</div>

<div th:include="/teacher/templates::footer"></div>

<script src="/js/teacher/article/articleManage.js"></script>

<script>
</script>
</body>
</html>